import javax.swing.JFrame;
import javax.swing.JPanel;

public class PanelTest extends JFrame {
	JPanel jPanel;
	
	public PanelTest() {
		jPanel = new JPanel();
		setTitle("This is a Panel(tanqi)");
		setVisible(true);
		setSize(400,300);
		add(jPanel);
		
	}
	public static void main(String[] args) {
		PanelTest pt = new PanelTest();
	}

}
